SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}Bellapais{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}' OR prCity = 'Bellapais' OR prZip = 'Bellapais' OR prStreet LIKE '{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}Bellapais{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}' OR prCountry = 'Bellapais') AND (prLocation LIKE '{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}Cyprus{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}' OR prCity = 'Cyprus' OR prZip = 'Cyprus' OR prStreet LIKE '{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}Cyprus{29d13b47764e97c901b6859d51ad01da361b1974656701e7e82b9b79ed20ffff}' OR prCountry = 'Cyprus')